<!--
弹性布局：

-->

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        div {
            height: 700px;
            width: 700px;
            background-color: green;

            display: inline;/* 弹性布局 */
        }

        div span {
            height: 100px;
            width: 100px;
            background-color: red;
        }
    </style>

</head>

<body>
    <div>
        <span>1</span>
        <span>2</span>
        <span>3</span>
    </div>
</body>

</html>